# CMake 最低版本号要求
cmake_minimum_required (VERSION 3.1)

# 项目信息
project (APUE)

# set(CMAKE_VERBOSE_MAKEFILE ON)

# 添加头文件路径
include_directories("${PROJECT_SOURCE_DIR}/apue/include")

# 设定可执行文件输出目录
SET(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin")
# 添加子目录
add_subdirectory(apue)
add_subdirectory(ch4)
add_subdirectory(ch6)
add_subdirectory(ch8)
add_subdirectory(ch9)
add_subdirectory(ch10)
add_subdirectory(ch11)
add_subdirectory(ch12)
add_subdirectory(ch13)
add_subdirectory(ch14)
add_subdirectory(ch15)
# add_subdirectory(ch16)
# add_subdirectory(ch17)
add_subdirectory(ch18)
add_subdirectory(ch19)